home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
hardware
/
autodc.exe
/
AUTODOC.DOC
< prev
next >
Wrap
Text File
|
1993-03-03
|
8KB
|
212 lines
AutoDoc 1.0 03-Mar-1993 - Automatic File Server Documentation
Copyright (c) 1992, 1993 Burkhard Daniel
and Hans-Georg Michna.
All rights reserved.
Introduction and Price
AutoDoc is a utility program for DOS which scans any disk
directory including all its subdirectories and creates a
documentation text file. This result file can contain,
depending on switches:
- a complete listing of all subdirectories,
- for each directory a directory description,
- for each directory a list of files including length, date,
time and attributes,
- for each text file the text of the file up to a certain
length.
AutoDoc is Shareware. You may download and redistribute it
freely and test it for up to 30 days. After this trial period
the use on disks that can be reached only from one PC, such as
local hard disks, remains free. As soon as the disk or a
directory of it is shared among two or more users, the
computer is considerered a file server. For each file server
computer a shareware fee of $15 has to be paid after the trial
period. Payment has to be done through CompuServe's SWREG. To
pay, log on to CompuServe and enter the command: GO SWREG.
Search for the key: "AUTODOC" and follow the instructions to
register.
Instructions for Use
Usage: AUTODOC [startpath [switches]]
Command line switches:
/? - Show this help screen
/Oxxxxx - Output file name (default: "AUTODOC.TXT")
/S - Include subdirectories (default: off)
/F - Include files (default: off)
/E - Names are sorted by extension
/U - Names remain unsorted
/Bxxxxx - Maximum line length (default: 80)
/D - List drive spec (default: off)
/Ixxxxx - Directory description file name (default:
"DIRINFO")
/Lxxxxx - Bytes up to which a text file is listed in the
output
(default: 16384, max: 65534, 0: don't list files)
/X - Exclude directories, must be followed by a list of
directories. (default: include all directories)
Example: /X USER \MACHINE
/Y - Allows different lengths (see /L) for special
extensions.
Must be followed by a list of terms as shown below.
Example: /Y BAT,SYS,TXT:15000 BAS,C,CPP,PAS:200 INI:0
Detailed explanation of the switches
Note that in the following explanation the word: "printed" is
used as an abbreviation for: "written into the output
documentation file". In fact AutoDoc doesn't print anything.
It only writes all of its results into the output text file.
/? - Show this help screen
This switch shows the help screen with the short switch
descriptions.
/Oxxxxx - Output file name (default: "AUTODOC.TXT")
By default the output file name is created in the directory to
be documented and is named AUTODOC.TXT. With the /O switch
(letter Oh, not digit zero) you can determine a different file
name and also a different directory. Example:
AUTODOC \USERDATA /O\USER\JOE\SERVER.TXT
/S - Include subdirectories (default: off)
By default AutoDoc will only document the target directory.
With the /S switch the documentation will also include all
subdirectories to any degree of the target directory.
/F - Include files (default: off)
With the /F switch AutoDoc will include a listing of files for
each subdirectory. This listing will include the length, date,
time and attributes of each file and a remark. The remark is
"(see below)" for text files whose contents are losted below,
or "(file could not be opened)" for files that could not be
accessed because they were presumably opened for writing by
another program.
/E - Names are sorted by extension
The file names of each file listing will be sorted by their
three letter extensions. Default: Files are sorted by name.
/U - Names remain unsorted
The file names of each file listing will remain unsorted, i.e.
in their original sequence. Default: Files are sorted by name.
/Bxxxxx - Maximum line length (default: 80)
The listings of text files are by default line wrapped such
that no line is longer than 80 characters. With the /B switch
this length can be changed. Example:
AUTODOC \ /B65
This command will list the contents of all text files, but
will wrap the lines such that no line is longer than 65
characters.
/D - List drive spec (default: off)
Without this switch, subdirectories will be listed beginning
with a backslash (\) in cloumn 1. With the /D switch each
directory will be listed with the driver designation preceding
the directory path. Example of output:
F:\PUBLIC\OS2
/Ixxxxx - Directory description file name (default:
"DIRINFO")
AutoDoc will look in each directory for a file named DIRINFO
(no extension). If this file is found, then it is presumed to
contain a textual description of the directory and printed
underneath the directory name.
With the /I switch the name of these description files can
globally be changed to another file name. Note that DIRINFO is
also the description name used by the Norton Commander version
3. It is recommended that you put a DIRINFO text file into
each directory for which you want a description printed.
/Lxxxxx - Bytes up to which a text file is listed in the
output
(default: 16384, max: 65534, 0: don't list files)
By default all text files, determined as those that do not
contain any special characters 0-8, 11, 14-25 or 27 in their
first part, are listed up to a certain length. This length is
by default 16384 (16 K bytes). You can change this default
text listing length to another one with the /L switch.
Example:
AUTODOC \ /S /F /L200
This command will list only the first 200 characters of all
text files.
/X - Exclude directories, must be followed by a list of
directories. (default: include all directories)
Example: /X USER \MACHINE
With this switch subdirectories of a few directories can be
excluded from the listing. Example:
AUTODOC F:\ /S /F /X USER MACHINE
This command would create a documentation file that includes
all directories and subdirectories. The listing would also
contain full lists of the excluded directories, but no
subdirectories of these would subsequently be listed.
/Y - Allows different lengths (see /L) for special
extensions.
Must be followed by a list of terms as shown below.
Example: /Y BAT,SYS,TXT:15000 BAS,C,CPP,PAS:200 INI:0
This switch allows to set different lengths for text file
contents listings, including 0 which suppresses the listing of
files with these extension entirely. In the example above all
text files with the extensions .BAT, .SYS, .TXT would be
listed up to a length of 15000 characters. All text files with
the extensions .BAS, .C, .CPP, .PAS would be listed up to a
length of only 200 characters and text files with an extension
of .INI would not be listed at all. All text files with other
extensions would be listed according to the /L switch or its
default if no /L switch is present.
Usage Hints
The result file from AutoDoc can be very long for large file
server disks with many subdirectories. The best way to reduce
the size of the documentation is to use the /L switch with a
much smaller figure than the default 16384 bytes, like /L200
whch will yield only about three lines per text file. To
switch off the listing of text files altogether, use: /L0
To structure the result file you can use the outliner feature
of your word processor. In Word for Windows, for example,
replace all: "^p^p\" with the same text: "^p^p\", but with an
outline style attached. (If you use the /D switch on a drive
F:, for example, then use "^p^pF:\" instead. There is some
minimal likelihood that a similar text might appear in the
listing of a text file, which would upset this procedure, but
with the /D switch you can make this yet less likely.